package com.wanghua.mall.product.frontvo;

import com.wanghua.mall.product.entity.SkuImagesEntity;
import com.wanghua.mall.product.entity.SkuInfoEntity;
import com.wanghua.mall.product.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wanghua
 * @create 2021-09-05 8:32
 */
@Data
public class SkuItemVo {

    /*** 1 sku基本信息的获取:如标题*/
    SkuInfoEntity info;

    boolean hasStock = true;

    /*** 2 sku的图片信息*/
    List<SkuImagesEntity> images;

    /*** 3 获取spu的销售属性组合。每个attrName对应一个value-list*/
    List<ItemSaleAttrVo> saleAttr;

    /**4 获取spu的介绍*/
    SpuInfoDescEntity desc;

    /*** 5 获取spu的规格参数信息，每个分组的包含list*/
    List<SpuItemAttrGroup> groupAttrs;
    /**
     * 秒杀信息
     */
    SecKillSkuVo secKillSkuVo;



}

